package com.lry.basic.algorithm.flow.token;

import com.lry.basic.algorithm.flow.bucket.Bucket;

public class Test {
    public static void main(String[] args) throws InterruptedException {

        Token token = new Token(10,2);

        for(int i=0;i<100;i++){
            System.out.println(token.acquire());
            Thread.sleep(100);
        }

    }
}
